package com.itcast.springboot.waste_recovery.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户端信息表
 * </p>
 *
 * @author 小破烂
 * @since 2020-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="User对象", description="用户端信息表")
public class User implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户id")
      @TableId(value = "user_id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户账号")
    private String userCode;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "用户密码")
    private String userPassword;

    @ApiModelProperty(value = "用户电话")
    private String userPhone;

    @ApiModelProperty(value = "用户是否实名认证")
    private Boolean userIsreal;

    @ApiModelProperty(value = "用户邮件")
    private String userEmail;

    @ApiModelProperty(value = "用户性别:0：女；1：男")
    private Boolean userSex;

    @ApiModelProperty(value = "用户真实姓名")
    private String userRealName;

    @ApiModelProperty(value = "用户身份证")
    private String userNum;

    @ApiModelProperty(value = "用户头像路径")
    private String userUrl;

    @ApiModelProperty(value = "用户金币")
    private Integer userMoney;

    @ApiModelProperty(value = "用户身份为员工的是否开启新订单提醒")
    private Boolean userOrderTip;
}
